package com.ccrfid.rmc6.repository.business.rollcall2;

import com.ccrfid.rmc6.entity.business.rollcall2.RcScheduleEntity;
import com.ccrfid.rmc6.repository.search.SearchableRepository;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface RcScheduleRepository extends Repository<RcScheduleEntity, Long>,
        SearchableRepository<RcScheduleEntity> {

    RcScheduleEntity getById(Long id);

    RcScheduleEntity save(RcScheduleEntity entity);

    List<RcScheduleEntity> getAllBy();

    void deleteById(Long id);

    boolean existsById(Long id);
}
